.device-type-item {
  background: #fff;
  height: 100px;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  border-radius: 4px;
  text-align: center;
  line-height: 100px;
  font-size: 15px;
  position: relative;
  -webkit-user-select: none;

  -moz-user-select: none;

  -ms-user-select: none;

  user-select: none;
  cursor: pointer;
  font-weight: 500;
  &::before {
    width: 100%;
    height: 70px;
    border: 5px solid #16ba3c;
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    border-bottom-color: transparent;
    border-top-color: transparent;
  }
  &:hover,
  &:focus {
    background: #16ba3c;
    color: #fff;
    .delete,
    .enum,
    .editor {
      display: block;
    }

    .add-icon {
      color: #fff;
    }
    &::before {
      border-left-color: #fff;
      border-right-color: #fff;
    }
  }
  &.active {
    background: #16ba3c;
    color: #fff;
    &::before {
      border-left-color: #fff;
      border-right-color: #fff;
    }
  }
}
.delete,
.editor,
.enum {
  position: absolute;
  display: none;
  right: 18px;
  top: 12px;
  font-size: 18px;
  height: 20px;
  width: 20px;
  line-height: 20px;
}
.editor {
  right: 42px;
}
.enum {
  right: 66px;
}
.add-icon {
  font-size: 36px;
  color: #00a0e9;
  padding-top: 32px;
}
